<?php
include ("header2.php");

  include('databaseconnection.php');
?>

<table border="0"  cellspacing="1" cellpadding="2"  align="left" width="960px">

			 <tr>
			   <td colspan="2" align="center"  bgcolor="#959595"  ><font size="+3" class="font">Add Term </font>
	               
		           </p></td></tr>
<tr>
                  <td   colspan=2 bgcolor="#ABADF1" align="left" >
				  <form action="readfile.php" method="post"
enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="file" id="file" /> 
<br />
<input type="submit" name="submit" value="Submit" />
</form>
				  
				  
				  
				  
				  </td> 
                </tr>
								  
				<tr><td align="center">   
				   <?php
				    if(isset ($_GET['msg'])){
                echo $_GET['msg'];
            }
				   ?>
</td></tr>




			  <form action="insertterm.php" method="post">
			   

               <tr><td  align="right" bgcolor="#D4D4D4" class="font">Term : </td>

                   <td  bgcolor="#ABADF1"><input type="text" name="term" size="40" value=""></td></tr>

               <tr><td  align="right" bgcolor="#D4D4D4" class="font">Domain: </td>

                   <td  bgcolor="#ABADF1">
				   <select name="domain" value="">
                  <option value='01'>1</option>
				   <option value='2' >2</option><option value="03" >03</option></select>
				   </td></tr>
				   <tr><td  align="right" bgcolor="#D4D4D4" class="font">Language: </td>

                   <td  bgcolor="#ABADF1">
				   <select name="language" value="">
                  <option value='tamil'>Tamil</option>
				   <option value='sinhala' >sinhala</option></select>
				   </td></tr>
				   
				 <tr><td  align="right" bgcolor="#D4D4D4" class="font">Meaning : </td>

                   <td  bgcolor="#ABADF1"><input type="text" name="meaning" size="40" ></td></tr>
				     

                <tr><td bgcolor="#D4D4D4" > </td>
                  <td   colspan=2 bgcolor="#ABADF1" align="right" ><input name="submit" type="submit" value="Add Term"  /></td>
                </tr>

             </form>

			  
			   </table>

<?php
include ("footer.php");

?>
